Summit.Data.XT = {
	getAttributes:function(xmlNode)
	{
		var atts = xmlNode.attributes;
		var realAtts = {};

		for(var i=0; i< atts.length; i++)
		realAtts[atts[i].nodeName]=atts[i].nodeValue;

		return realAtts;
	},
	
	parseDate:function(dateString)
	{
		var date = new Date();
		date.setFullYear(dateString.substr(0,4));
		date.setMonth(dateString.substr(5,2)-1);
		date.setDate(dateString.substr(8,2));
		date.setHours(dateString.substr(11,2));
		date.setMinutes(dateString.substr(14,2));
		date.setSeconds(dateString.substr(17,2));
		
		return date;
	}
}